package com.damuzee.core.domain;

public class JsonResult {

	public static final String MSGTYLE_ERROR = "error";
	
	public static final String MSGTYPE_WARM ="warning" ;
			
	public static final String MAGETYPE_INFO = "info" ;
	
	public static final String STATE_SUCCESS = "success";
	
	public static final String STATE_error = "error" ;
	
	private String msgType ;
	
	private String msg  ;
	
	private String state ;
	
	public Object result ;
	
	
	public JsonResult(){
		this.state = STATE_SUCCESS;
		this.msgType  = MAGETYPE_INFO ;
		this.msg = "操作成功";
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}
